package com.zhs;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
import org.springframework.kafka.annotation.EnableKafka;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @author: zhs
 * @since: 2021/4/27 16:49
 */
@SpringBootApplication
@EnableScheduling
@EnableKafka
public class KafkaApplication extends SpringBootServletInitializer {
    public static void main(String[] args) {
        SpringApplication.run(KafkaApplication.class, args);
    }
}
